const host = {
	Base:"https://mockapi.eolinker.com/P1xdaz65766cabb88ae3e2c703d2d38dd6f7ec4c7d88a2c/",
	image:"/static/images/"
}

const port = {
	test: {
		url: host.Base + "test"
	},
	//登录
	login: {
		url: host.Base + "mobileLogin2"
	},
	//刷新token
	refreshToken: {
		url: host.Base + "sys/sessionRefresh2"
	},
	//基础字典
	dic: {
		url: host.Base + "sys/selectDicData"
	},
	//行政地区
	region: {
		url: host.Base + "basRegion/selectRegionJson.jo"
	},
	//患者列表
	patient: {
		url: host.Base + "inpatient/getInpatientMgrPage",
		dataFormat:[
			{
				func: "dic",
				key: "patientSex",
				writeKey: "ex_patientSex",
				dicData: "dicSex"
			},
			{
				func: "dateFormat",
				key: "inhospitalDate",
				writeKey: "ex_inhospitalDate"
			},
			{
				func: "dateFormat",
				key: "outhospitalDate",
				writeKey: "ex_outhospitalDate"
			},
			{
				func: "dic",
				key: "patientKind",
				writeKey: "ex_patientKind",
				dicData: "dicPatientKind"
			},
			{
				func: "dateDiffer",
				key: "inhospitalDate",
				key1: "outhospitalDate",
				writeKey: "ex_inhospitalDay"
			},
		]
	},
	//病区列表
	patientArea: {
		url: host.Base + "inpatient/nurseHome.jo"
	},
	//患者体征图表
	patientChart: {
		url: host.Base + "inpatient/temperatureJsonData.jo"
	},
	//患者诊疗数据
	patientPlan: {
		url: host.Base + "patient/getEveryDayPlanJsonData"
	},
	//患者诊断信息
	patientDiagnostic: {
		url: host.Base + "inpatient/diagnosisJsonList"
	},
	//患者手术信息
	patientSurgery: {
		url: host.Base + "surgery/surgeryApplyListData"
	},
	//手术报告信息
	patientSurgeryReport: {
		url: host.Base + "surgery/surgeryReportListData.jo"
	},
	//患者体征信息
	patientSign: {
		url: host.Base + "inpatient/inpatientSymptomListData"
	},
	//患者过敏史、不良反应、过往疾病史
	patientHistory: {
		url: host.Base + "patient/patientFile"
	},
	//医嘱列表
	order: {
		url: host.Base + "inpatient/inpatientOrderExeJsonList"
	},
	//检查列表查询
	techList: {
		url: host.Base + "tech/techExamApplyList"
	},
	//检查结果报告
	techReport: {
		url: host.Base + "tech/findExamResult.jo"
	},
	//检验列表查询
	testList: {
		url: host.Base + "inpatient/inpatientLisOrderExeJsonList"
	},
	//检验结果报告
	testReport: {
		url: host.Base + "tech/lisResult"
	},
	//电子病例列表
	EMRIndexList: {
		url: host.Base + "patient/patientHospitalEmrJsonList"
	},
	//电子病例展示
	// EMRIndexList: host.Base + "http://192.168.0.130:8080/emr/commonEmrTemplate.do????????",
	
	//电子病历单分类列表
	EMRTypeList: {
		url: host.Base + "emrTlp/getEmrTypeList.jo"
	},
	//电子病历单模版列表
	EMRMap: {
		url: host.Base + "emr/getEmrTlpMap.jo"
	},
	//电子病历单模版字段列表
	EMRFieldList: {
		url: host.Base + "inpatient/getEmrTlpFieldList.jo"
	},
	//电子病历单数据保存
	EMRSaveData: {
		url: host.Base + "emr/saveEmrJsonData.jo"
	},
	//电子病历单数据查询
	EMRQuery: {
		url: host.Base + "emr/commonEmrTemplateJson.jo"
	},
}

export default{
	host,
	port
}